package com.solcoo.pojo;

import java.util.Date;

import com.solcoo.controller.JsonResult;

public class ZhangHu extends JsonResult{
    private int id;
    private int shanghuid;
    private int gerenid;
    private String shifougz;
    private double yue;
    private int dengji;
    private double zongcz;
    private double jingyanz;
    private Date createTime;
    private Integer shNQCount;
    private Integer grNQCount;

    public Integer getShNQCount() {
		return shNQCount;
	}
	public void setShNQCount(Integer shNQCount) {
		this.shNQCount = shNQCount;
	}
	public Integer getGrNQCount() {
		return grNQCount;
	}
	public void setGrNQCount(Integer grNQCount) {
		this.grNQCount = grNQCount;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
     * 充值积分
     */
    private Double incomeIntegrate;
    /**
     * 支付积分
     */
    private Double outIntegrate;
    private double zongxf;
    private double zhekoul;

    public double getZongcz() {
        return zongcz;
    }
    public void setZongcz(double zongcz) {
        this.zongcz = zongcz;
    }
    public int getId() {
        return id;
    }
    public void setId(int id) {
        this.id = id;
    }
    public int getShanghuid() {
        return shanghuid;
    }
    public void setShanghuid(int shanghuid) {
        this.shanghuid = shanghuid;
    }
    public int getGerenid() {
        return gerenid;
    }
    public void setGerenid(int gerenid) {
        this.gerenid = gerenid;
    }
    public String getShifougz() {
        return shifougz==null?"":shifougz;
    }
    public void setShifougz(String shifougz) {
        this.shifougz = shifougz;
    }
    public double getYue() {
        return yue;
    }
    public void setYue(double yue) {
        this.yue = yue;
    }
    public int getDengji() {
        return dengji;
    }
    public void setDengji(int dengji) {
        this.dengji = dengji;
    }
    public double getJingyanz() {
        return jingyanz;
    }
    public void setJingyanz(double jingyanz) {
        this.jingyanz = jingyanz;
    }
    public double getZongxf() {
        return zongxf;
    }
    public void setZongxf(double zongxf) {
        this.zongxf = zongxf;
    }
    public double getZhekoul() {
        return zhekoul;
    }
    public void setZhekoul(double zhekoul) {
        this.zhekoul = zhekoul;
    }
    public Double getIncomeIntegrate() {
        if(this.incomeIntegrate == null) {
            this.incomeIntegrate = 0d;
        }
        return incomeIntegrate;
    }
    public void setIncomeIntegrate(Double incomeIntegrate) {
        if(incomeIntegrate ==null) {
            this.incomeIntegrate = 0d;
        }
        this.incomeIntegrate = incomeIntegrate;
    }
    public Double getOutIntegrate() {
        if(outIntegrate == null) {
            return 0d;
        }
        return outIntegrate;
    }
    public void setOutIntegrate(Double outIntegrate) {
        if(outIntegrate == null) {
            this.outIntegrate = 0d;
        }
        this.outIntegrate = outIntegrate;
    }

}
